package com.example.democrud.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.baomidou.mybatisplus.core.enums.IEnum;
import com.example.democrud.common.enums.BaseEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

import java.util.HashMap;
import java.util.Map;

/**
 * @ClassName SexEnum
 * @Author Administrator
 * @Date 2020/4/23   9:10
 */
@Getter
@AllArgsConstructor
public enum  SexEnum {
    MALE(0,"男"),
    FEMALE(1,"女");

    @EnumValue
    private final Integer  code;
    private final String disc;


}
